<table border="1px">
	<tr>
		<td>
			<%= render :partial => 'board' %>
		</td>
		<td>
			<table border="1px">
				<tr>
					<td>
						<% game = @position.game %>
						<p>White: <strong><%= game.player1 %></strong><%= "(move)" if @position.turn == "w" %> 
						       Black: <strong><%= game.player2 %></strong><%= "(move)" if @position.turn == "b" %>
						<%= link_to("edit game details", :controller => "game", :action => :edit, :id => game) %></p>
					</td>
				</tr>
				<tr>
					<td>
						<%= form_tag(:action => "move", :id => params[:id]) %>
						<p>Enter Move: <%= text_field_tag "entered_move", "" %> </p>
						<%= submit_tag %>
						<%= end_form_tag %>
					</td>
				</tr>
				<tr>
					<td>
						Move List
						<br>
						<%= render :partial => "move_list" %>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>

